(function () {
    'use strict';

    angular
        .module('com.akxx.aqzyk')
        .config(config);

    /** @ngInject */
    function config($logProvider, $httpProvider,$stateProvider) {
        // Enable log
        $logProvider.debugEnabled(true);

        // Set options third-party lib
        // toastrConfig.allowHtml = true;
        // toastrConfig.timeOut = 3000;
        // toastrConfig.positionClass = 'toast-top-right';
        // toastrConfig.preventDuplicates = true;
        // toastrConfig.progressBar = true;

        // $(function() {
        //     FastClick.attach(document.body);
        // });

        //http的拦截器,处理报错的相关逻辑,日后再根据需求完善
        $httpProvider.interceptors.push('httpInterceptor');
    }

})();
